package com.niu.mapper;
import com.niu.bean.Cat;
import org.apache.ibatis.annotations.Param;

import java.util.*;


public interface CatGetParamMapper {
    public List<Cat> getCatsByName(String catName);

    public Cat getCat(@Param("catName") String catName, @Param("age")Integer age);

    public Cat getCatByMap(Map<String,Object> map);

    public boolean insertCat(Cat cat);


}
